// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_SEC_USER
// * CreateDate    : 2014-06-05 18:30:42
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:42
// * LastChanger   : 2014-06-05 18:30:42
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class SecUserTable : TableInfo
    {
		public const string C_TableName = "SEC_USER";
		
		public const string C_USER_ID = "USER_ID";
		public const string C_PERSON_ID = "PERSON_ID";
		public const string C_USER_ACCOUNT = "USER_ACCOUNT";
		public const string C_CHINESE_NAME = "CHINESE_NAME";
		public const string C_ENGLISH_NAME = "ENGLISH_NAME";
		public const string C_PASSWORD = "PASSWORD";
		public const string C_PASSWORD_MODIFY_DATE = "PASSWORD_MODIFY_DATE";
		public const string C_PASSWORD1 = "PASSWORD1";
		public const string C_PASSWORD2 = "PASSWORD2";
		public const string C_IS_DELETE = "IS_DELETE";
		public const string C_IS_LOCK = "IS_LOCK";
		public const string C_POSITION = "POSITION";
		public const string C_USER_TYPE = "USER_TYPE";
		public const string C_MOBILE_PHONE = "MOBILE_PHONE";
		public const string C_PHONE = "PHONE";
		public const string C_EMAIL = "EMAIL";
		public const string C_ADDRESS = "ADDRESS";
		public const string C_GENDER = "GENDER";
		public const string C_CITY_ID = "CITY_ID";
		public const string C_RESPONSIBLE_AREA = "RESPONSIBLE_AREA";
		public const string C_DEPARTMENT = "DEPARTMENT";
		public const string C_POSTAL = "POSTAL";
		public const string C_THEME = "THEME";
		public const string C_BACKUP_FIELD1 = "BACKUP_FIELD1";
		public const string C_BACKUP_FIELD2 = "BACKUP_FIELD2";
		public const string C_BACKUP_FIELD3 = "BACKUP_FIELD3";
		public const string C_VALIDATE_TYPE = "VALIDATE_TYPE";
		public const string C_LAST_MODIFIED_BY = "LAST_MODIFIED_BY";
		public const string C_LAST_MODIFIED_TIME = "LAST_MODIFIED_TIME";
		public const string C_COMPANY_CODE = "COMPANY_CODE";
		
		public SecUserTable()
        {
            _tableName = "SEC_USER";
        }
		
		protected static SecUserTable _current;
        public static SecUserTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new SecUserTable();

            _current.Add(C_USER_ID, new ColumnInfo(C_USER_ID,"UserId", true, typeof(string)));
            _current.Add(C_PERSON_ID, new ColumnInfo(C_PERSON_ID,"PersonId", false, typeof(string)));
            _current.Add(C_USER_ACCOUNT, new ColumnInfo(C_USER_ACCOUNT,"UserAccount", false, typeof(string)));
            _current.Add(C_CHINESE_NAME, new ColumnInfo(C_CHINESE_NAME,"ChineseName", false, typeof(string)));
            _current.Add(C_ENGLISH_NAME, new ColumnInfo(C_ENGLISH_NAME,"EnglishName", false, typeof(string)));
            _current.Add(C_PASSWORD, new ColumnInfo(C_PASSWORD,"Password", false, typeof(string)));
            _current.Add(C_PASSWORD_MODIFY_DATE, new ColumnInfo(C_PASSWORD_MODIFY_DATE,"PasswordModifyDate", false, typeof(DateTime)));
            _current.Add(C_PASSWORD1, new ColumnInfo(C_PASSWORD1,"Password1", false, typeof(string)));
            _current.Add(C_PASSWORD2, new ColumnInfo(C_PASSWORD2,"Password2", false, typeof(string)));
            _current.Add(C_IS_DELETE, new ColumnInfo(C_IS_DELETE,"IsDelete", false, typeof(decimal)));
            _current.Add(C_IS_LOCK, new ColumnInfo(C_IS_LOCK,"IsLock", false, typeof(decimal)));
            _current.Add(C_POSITION, new ColumnInfo(C_POSITION,"Position", false, typeof(string)));
            _current.Add(C_USER_TYPE, new ColumnInfo(C_USER_TYPE,"UserType", false, typeof(decimal)));
            _current.Add(C_MOBILE_PHONE, new ColumnInfo(C_MOBILE_PHONE,"MobilePhone", false, typeof(string)));
            _current.Add(C_PHONE, new ColumnInfo(C_PHONE,"Phone", false, typeof(string)));
            _current.Add(C_EMAIL, new ColumnInfo(C_EMAIL,"Email", false, typeof(string)));
            _current.Add(C_ADDRESS, new ColumnInfo(C_ADDRESS,"Address", false, typeof(string)));
            _current.Add(C_GENDER, new ColumnInfo(C_GENDER,"Gender", false, typeof(decimal)));
            _current.Add(C_CITY_ID, new ColumnInfo(C_CITY_ID,"CityId", false, typeof(string)));
            _current.Add(C_RESPONSIBLE_AREA, new ColumnInfo(C_RESPONSIBLE_AREA,"ResponsibleArea", false, typeof(string)));
            _current.Add(C_DEPARTMENT, new ColumnInfo(C_DEPARTMENT,"Department", false, typeof(string)));
            _current.Add(C_POSTAL, new ColumnInfo(C_POSTAL,"Postal", false, typeof(string)));
            _current.Add(C_THEME, new ColumnInfo(C_THEME,"Theme", false, typeof(string)));
            _current.Add(C_BACKUP_FIELD1, new ColumnInfo(C_BACKUP_FIELD1,"BackupField1", false, typeof(string)));
            _current.Add(C_BACKUP_FIELD2, new ColumnInfo(C_BACKUP_FIELD2,"BackupField2", false, typeof(string)));
            _current.Add(C_BACKUP_FIELD3, new ColumnInfo(C_BACKUP_FIELD3,"BackupField3", false, typeof(string)));
            _current.Add(C_VALIDATE_TYPE, new ColumnInfo(C_VALIDATE_TYPE,"ValidateType", false, typeof(decimal)));
            _current.Add(C_LAST_MODIFIED_BY, new ColumnInfo(C_LAST_MODIFIED_BY,"LastModifiedBy", false, typeof(string)));
            _current.Add(C_LAST_MODIFIED_TIME, new ColumnInfo(C_LAST_MODIFIED_TIME,"LastModifiedTime", false, typeof(DateTime)));
            _current.Add(C_COMPANY_CODE, new ColumnInfo(C_COMPANY_CODE,"CompanyCode", false, typeof(string)));
			
		}
		
		public ColumnInfo USER_ID
        {
            get { return this[C_USER_ID]; }
        }
		
		public ColumnInfo PERSON_ID
        {
            get { return this[C_PERSON_ID]; }
        }
		
		public ColumnInfo USER_ACCOUNT
        {
            get { return this[C_USER_ACCOUNT]; }
        }
		
		public ColumnInfo CHINESE_NAME
        {
            get { return this[C_CHINESE_NAME]; }
        }
		
		public ColumnInfo ENGLISH_NAME
        {
            get { return this[C_ENGLISH_NAME]; }
        }
		
		public ColumnInfo PASSWORD
        {
            get { return this[C_PASSWORD]; }
        }
		
		public ColumnInfo PASSWORD_MODIFY_DATE
        {
            get { return this[C_PASSWORD_MODIFY_DATE]; }
        }
		
		public ColumnInfo PASSWORD1
        {
            get { return this[C_PASSWORD1]; }
        }
		
		public ColumnInfo PASSWORD2
        {
            get { return this[C_PASSWORD2]; }
        }
		
		public ColumnInfo IS_DELETE
        {
            get { return this[C_IS_DELETE]; }
        }
		
		public ColumnInfo IS_LOCK
        {
            get { return this[C_IS_LOCK]; }
        }
		
		public ColumnInfo POSITION
        {
            get { return this[C_POSITION]; }
        }
		
		public ColumnInfo USER_TYPE
        {
            get { return this[C_USER_TYPE]; }
        }
		
		public ColumnInfo MOBILE_PHONE
        {
            get { return this[C_MOBILE_PHONE]; }
        }
		
		public ColumnInfo PHONE
        {
            get { return this[C_PHONE]; }
        }
		
		public ColumnInfo EMAIL
        {
            get { return this[C_EMAIL]; }
        }
		
		public ColumnInfo ADDRESS
        {
            get { return this[C_ADDRESS]; }
        }
		
		public ColumnInfo GENDER
        {
            get { return this[C_GENDER]; }
        }
		
		public ColumnInfo CITY_ID
        {
            get { return this[C_CITY_ID]; }
        }
		
		public ColumnInfo RESPONSIBLE_AREA
        {
            get { return this[C_RESPONSIBLE_AREA]; }
        }
		
		public ColumnInfo DEPARTMENT
        {
            get { return this[C_DEPARTMENT]; }
        }
		
		public ColumnInfo POSTAL
        {
            get { return this[C_POSTAL]; }
        }
		
		public ColumnInfo THEME
        {
            get { return this[C_THEME]; }
        }
		
		public ColumnInfo BACKUP_FIELD1
        {
            get { return this[C_BACKUP_FIELD1]; }
        }
		
		public ColumnInfo BACKUP_FIELD2
        {
            get { return this[C_BACKUP_FIELD2]; }
        }
		
		public ColumnInfo BACKUP_FIELD3
        {
            get { return this[C_BACKUP_FIELD3]; }
        }
		
		public ColumnInfo VALIDATE_TYPE
        {
            get { return this[C_VALIDATE_TYPE]; }
        }
		
		public ColumnInfo LAST_MODIFIED_BY
        {
            get { return this[C_LAST_MODIFIED_BY]; }
        }
		
		public ColumnInfo LAST_MODIFIED_TIME
        {
            get { return this[C_LAST_MODIFIED_TIME]; }
        }
		
		public ColumnInfo COMPANY_CODE
        {
            get { return this[C_COMPANY_CODE]; }
        }
		
		
		
	}
}

